![]() |
GetThemeTrackDragRect |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Obtains the area in which the user may drag a track’s indicator.
OSStatus GetThemeTrackDragRect ( const ThemeTrackDrawInfo *drawInfo, Rect *dragRect );
A pointer to a structure of type ThemeTrackDrawInfo. Before calling GetThemeTrackDragRect, set the structure to contain the current visual characteristics of the track.
A pointer to a structure of type Rect. On return, the rectangle contains the actual boundary of the indicator’s drag rectangle, in local coordinates.
A result code.
Because of varying indicator geometries and theme designs, the draggable area for an indicator is not typically exactly the same as the track rectangle. Your application should call GetThemeTrackDragRect to obtain the actual area within a track where an indicator can be dragged under the current theme.
This function is available with Appearance Manager 1.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)